Skip to content

fix: restore Selenium WebDriver 3 compatibility - #1301

Merged
fglock merged 3 commits into
masterfrom
fix/issue-1104-selenium-test-startup
Sep 8, 2026
Merged

fix: restore Selenium WebDriver 3 compatibility#1301
fglock merged 3 commits into
masterfrom
fix/issue-1104-selenium-test-startup

Conversation

@fglock

@fglock fglock commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • amortize repeated Perl string appends to avoid Selenium mock-test startup stalls
  • materialize intermediate hashes during nested exists, matching Perl 5 semantics
  • add focused regression coverage for nested hash exists autovivification

Fixes #1104

Validation

  • prove src/test/resources/unit/exists_nested_hash_autovivification.t
  • ./jperl src/test/resources/unit/exists_nested_hash_autovivification.t
  • ./jperl --interpreter src/test/resources/unit/exists_nested_hash_autovivification.t
  • ./jcpan -t Selenium::Remote::Driver (t/01-webdriver3.t passes; unrelated t/Firefox-Profile.t still fails on Archive::Zip->addTree)
  • make

@fglock
fglock force-pushed the fix/issue-1104-selenium-test-startup branch from f46bcfa to 1a495b2 Compare September 8, 2026 12:34
fglock and others added 3 commits September 8, 2026 15:46
Amortize plain scalar concat-assignment through a transferred append buffer,
including byte strings used by JSON::PP. Preserve ordinary assignment,
overload, taint, and byte-flag semantics when materializing the buffer.

Route Selenium::Remote::Driver's CPAN test command through the interpreter so
its IPC::Open3 compile checks emit TAP within the tester deadline.

Fixes #1104

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
Make nested exists checks materialize missing intermediate hashes while
leaving their final key absent, matching Perl and Selenium WebDriver 3.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
Avoid overwriting a tied scalar's wrapper type after utf8::encode or
utf8::decode dispatches STORE, restoring op/utf8magic.t.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock force-pushed the fix/issue-1104-selenium-test-startup branch from 1a495b2 to 60bf689 Compare September 8, 2026 13:54
@fglock
fglock merged commit 0c633f3 into master Sep 8, 2026
2 checks passed
@fglock
fglock deleted the fix/issue-1104-selenium-test-startup branch September 8, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selenium::Remote::Driver 1.50 hangs during PerlOnJava tests

1 participant